package com.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文章类型实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Type {
    /**
     * CREATE TABLE `tb_type` (
     *   `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
     *   `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '类型',
     *   PRIMARY KEY (`id`)
     * ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
     */
    private Long id;
    private String name;

}
